﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLSingTowerMall;
using DTOSingTowerMall;

namespace FacadeSingTowerMall
{
    public class EventFacade
    {
        EventProcess objEventsDetails = new EventProcess();
        public IQueryable<IEventHallBooking> getCurrentEventsDetails()
        {

            IQueryable<IEventHallBooking> currentEvents = objEventsDetails.getEvents();
            return currentEvents;
        }

        public IQueryable<IEventHallBooking> getEventsBetween(DateTime fromDate, DateTime toDate)
        {

            return objEventsDetails.getEventsBetween(fromDate, toDate);
        }
    }
}
